import {instance} from 'common/js/axios'
import axios from 'axios'
import qs from 'qs'
import {routerMap} from '../router'

export default {
  login: (data)=> {
    let keys = []
    for (let key in routerMap) {
      keys.push(key)
    }
    return new Promise((resolve) => {
      resolve({
        keys: keys
      })
    })
  }
}
